const client = require('scp2');
console.log('正在部署...');
client.scp(
    './build/',
    {
        host: '192.168.50.101',
        port: '22',
        username: 'root',
        password: 'luojikeyan.222',
        path: `/home/nginx/html/Nelli-admin`,
    },
    err => {
        if (!err) {
            console.log('项目部署完毕!');
        } else {
            console.log('err', err);
        }
    }
);
